package com.nchu.student_score.mapper;

import com.nchu.student_score.dataObject.TeachTaskResult;
import com.nchu.student_score.dataObject.User;
import com.nchu.student_score.model.TeachTask;
import java.util.List;

public interface TeachTaskMapper {
    int deleteByPrimaryKey(String teachId);

    int insert(TeachTask record);

    TeachTask selectByPrimaryKey(String teachId);

    List<TeachTask> selectAll();

    int updateByPrimaryKey(TeachTask record);

    List<TeachTaskResult> findTeachTasks(TeachTask record);

    void updateTeacherId(User record);

    void updateCourseId(User record);
}